package com.ruoyi.lyj.recharge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值记录对象 lyj_recharge
 * 
 * @author lcl
 * @date 2021-03-26
 */
public class Recharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    private Long memberId;

    /**
     * 会员姓名
     */
    private String memberName;

    /** 实际充值金额 */
    @Excel(name = "实际充值金额")
    private Long account;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private Long account2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setAccount(Long account) 
    {
        this.account = account;
    }

    public Long getAccount() 
    {
        return account;
    }
    public void setAccount2(Long account2) 
    {
        this.account2 = account2;
    }

    public Long getAccount2() 
    {
        return account2;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("account", getAccount())
            .append("account2", getAccount2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
